<?php
/**
 * Created by PhpStorm.
 * User: s.utkin
 * Date: 21.04.2015
 * Time: 17:14
 */

/**
 * @var $this \Action
 * @var $items \LogCollector\LogActionStatistics[]
 */
?>
Statistics for <?php echo date("d.m.Y", strtotime($date)); ?>
<table border="1" cellspacing="0px" cellpadding="5px">
	<tr>
		<th>Action</th>
		<th>begin</th>
		<th>end</th>
		<th>error</th>
		<th>warn</th>
		<th>info</th>
		<th>log</th>
	</tr>
	<?php foreach ($items as $item) { ?>
	<tr>
		<td><?php echo $item['_id']; ?></td>
		<td><?php echo $item['begins']; ?></td>
		<td><?php echo $item['ends']; ?></td>
		<td><?php echo $item['errors']; ?></td>
		<td><?php echo $item['warns']; ?></td>
		<td><?php echo $item['infos']; ?></td>
		<td><?php echo $item['logs']; ?></td>
	</tr>
	<?php } ?>
</table>
